@import '../../styles/variables.scss';

.guangchang-container {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  height: 100vh;
  box-sizing: border-box;
  padding: 0 20rpx 36rpx;
  background: linear-gradient(180deg, $background-gradient-start 0%, $background-gradient-end 100%);
  
  .nav-placeholder {
    height: $nav-height;
  }
  
  .comments-section {
    flex: 1;
    width: 100%;
    margin-top: 48rpx;
    position: relative;
  }
  
  .comments-header-image {
    width: 192rpx;
    height: 82rpx;
    position: absolute;
    top: -21rpx;
    left: -12rpx;
  }
  
  .comments-count {
    position: absolute;
    top: -13rpx;
    left: 182rpx;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 98rpx;
    height: 42rpx;
    opacity: 1;
    border-radius: 6rpx;
    transform: rotate(9.56deg);
    background: rgba(56, 56, 56, 1);
    z-index: 2;
    
    text {
      font-size: 24rpx;
      font-weight: 500;
      color: $white;
    }
  }
  
  .comments-list {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    height: 800rpx;
    border-radius: $border-radius-large;
    background: $white;
    border: $border-width solid $border-color;
    padding: 94rpx 0 0;
    overflow: hidden;
  }
  
  .comments-scroll-container {
    flex: 1;
    width: 100%;
    overflow-y: auto;
    
    ::-webkit-scrollbar {
      display: none;
    }
  }
  
  .comments-divider {
    opacity: 1;
    margin: 26rpx 26rpx;
    border-top: 1rpx solid $text-color;
  }
}

.guangchang-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 96rpx;
  background: $white;
  padding: 0 26rpx;
  
  .footer-actions {
    image {
      width: 64rpx;
      height: 64rpx;
    }
    
    .footer-like-icon {
      margin-left: 40rpx;
    }
  }
  
  input {
    height: 80rpx;
    width: 468rpx;
    background: $white;
    border-radius: 20rpx;
    border: 2.8rpx solid $border-color;
    font-size: 24rpx;
    font-weight: 400;
    color: rgba(153, 153, 153, 1);
    padding: 0 32rpx;
  }
}